#!/bin/bash

# Check if ollama server is running
if ! pgrep -f "ollama serve" > /dev/null; then
    echo "Starting ollama server..."
    OLLAMA_DEBUG=false OLLAMA_LOG_LEVEL=error ollama serve &
else
    echo "Ollama server is already running"
fi